lcTIN_ColorFill Home

Creates raster image of TIN color filling.

 BOOL lcTIN_ColorFill (
   HANDLE hTIN,
   double Zstep,
   double PixelSize
   HANDLE hLcWnd
 );

Parameters
hTIN
  Handle to a TIN object.
Zstep
  Defines a number of color gradations, as Ncolors = (Zmax - Zmin) / Zstep.
Where Zmax and Zmin - max and min Z-coordinates of TIN points. Max number of colors is 256.
In order to use all colors, set zero value for the parameter.
PixelSize
  Drawing units per pixel. Defines dimensions of the raster image, as
W = (int)((Xmax - Xmin) / PixelSize)
H = (int)((Ymax - Ymin) / PixelSize)
Where Xmax and Xmin - max and min X-coordinates of TIN points,
Ymax and Ymin - max and min Y-coordinates of TIN points.
hLcWnd
  Handle to LiteCAD graphics window.

Return Value

  If the function succeeds, the return value is nonzero (TRUE).

The sample of TIN color filling (Ncolors=33):